Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General | Off-site
[ :: Read More :: ]

Cart #yuwonabare-0 | 2024-04-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

P#146482 2024-04-12 20:01
[ :: Read More :: ]

Cart #wormhole_cd-0 | 2024-04-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
21

Important:
This game is very fast and contains fullscreen flashing effects. Flashes can be disabled by turning on the "reduce flash" option in the pause menu (-/enter).

The only way out

is through...

Blast your path to freedom and high scores measured in lightyears! Inspired by classic F-Zero games and Pico-8 bangers like BAS.

Features:

  • Incredible speed!
  • An evolving wormhole generated by multiple cross-modulating oscillators.
  • Probably more control schemes than are necessary.
  • The most metal soundtrack I could squeeze out of Pico-8. 🤘

Thanks for playing!

I'd love it if you posted your high scores...

P#146473 2024-04-12 18:49 ( Edited 2024-04-12 21:01)
[ :: Read More :: ]

Hello everyone, how are you doing? I'm trying to do something here and if you guys could help me somehow it'd be nice, I'm already grateful for your attention.

The thing is I was able to achieve the "rotation around a point" for Sprites ( in this case a circle ), but the issue is that I want to have multiple objects rotating around a point while starting at different "steps" of the rotation itself ( I'm attaching a image to explain it in more detail).

The code I'm using is the following:

MAIN.LUA

--sincos math

timer=0

scr={
    w=128,
    h=128
}

opt={
    spd=.5
}

pix={
    c=12,
    x=0,
    y=0
}

cir={
    timer=0,
    a=false,
    spd=.5,
    init=3,
    o=20,
    c=12,
    x=0,
    y=0,
    r=6
}

function _init()
    cir.x=scr.w/2
    cir.y=scr.h/2
    pix.x=scr.w/2
    pix.y=scr.h/2
end

function _draw()
    cls(1)
    pset(pix.x,pix.y,pix.c)
    print("speed "..opt.spd)
    for entry in all(circles) do
        circ(entry.x,entry.y,entry.r,entry.c)
    end
end

function _update60()

    update_keys()

    for entry in all(circles) do
            entry.timer+= entry.spd/60
            entry.x= pix.x+cos(entry.timer)*entry.o
            entry.y= pix.y-sin(entry.timer)*entry.o
    end

    if(keys.down) then opt.spd-=.1
    elseif(keys.up) then opt.spd+=.1    end

    if(keys.right) then pix.x+=1 end
    if(keys.left) then pix.x-=1 end

        if(keys.activate) then
            make_circle(pix.x,pix.y,opt.spd,15,12)
        end

        if(keys.delete) then
            circles={}
        end
end

-- methods --

-- make_circle(x,y,s,o,c)

UTILS.LUA

--utils

circles={}

function make_circle(x,y,s,o,c)
    local obj={
        timer=0,
        a=false,
        spd=s,
        o=o,
        c=c,
        x=x,
        y=y,
        r=6
    }

    add(circles,obj)
end

function update_keys()
 keys={
        activate=btnp(🅾️),
        delete=btnp(❎),
        right=btn(1),
        down=btnp(3),
        left=btn(0),
        up=btnp(2),
    }
end

Thanks in advance for any help and have a good day!

P#146456 2024-04-12 14:03
[ :: Read More :: ]

Cart #bunbomb-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#146410 2024-04-11 23:38
[ :: Read More :: ]

A screensaver featuring 20 coloured rectangles wiggling around the screen.
Controls are shown on startup.

Cart #madepiyura-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#146389 2024-04-11 19:33 ( Edited 2024-04-12 14:02)
[ :: Read More :: ]

Cart #truemirroreste-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

why

P#146382 2024-04-11 17:58 ( Edited 2024-04-11 17:58)
[ :: Read More :: ]

Cart #hellouniverse-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

Hi, NO THIS ISN'T A OVERLY EASY GAME!
its a little test i made to try out tables and multiple sprites
THANK YOU NERDY CODING FOR THE LUA MANUAL
Enjoy!

P#146374 2024-04-11 16:50
[ :: Read More :: ]

Cart #fujujosete-2 | 2024-04-11 | Code ▽ | Embed ▽ | No License
3

P#146366 2024-04-11 15:11 ( Edited 2024-04-12 16:53)
[ :: Read More :: ]

Cart #antimagnet-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

just a tiny cool thing

how to use:

  • use Your mouse/mousepad/"any other device you can control the mouse with" to control the mouse
  • dots dont like you :(
  • enjoy the not-liking of the dots, because it looks cool
  • (extra) the lines also dont like you :|

have fun :)

P#146361 2024-04-11 13:36 ( Edited 2024-04-11 13:36)
[ :: Read More :: ]

Cart #rockpusher-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
16

This is a tiny puzzle game, where you solve most problems by pushing rocks. No pulling the rocks, please!

This game was made in order to teach myself how to finish a game. Everything made by me.

It was a really nice learning experience, especially about level design. I'm excited to finally have finished something and start working on the next thing!

It is possible to skip to any level, by entering a level code in the tutorial screen:

  1. What Rock? → ↑ → →
  2. The Pushing Begins ↓ ↓ ↑ →
  3. Osmosis ← → ↓ →
  4. Touchdown ↑ ↓ ↓ ↑
  5. A Big Hug ↓ ← ↑ ←
  6. Make Way ↑ ↓ → ↓
  7. Attack Dog ↑ → ↑ ↑
  8. Hit Man ← ↑ → ↑
  9. Treat Yourself ↑ → ↓ →
  10. Columns ← ↓ ↑ ←

P#146355 2024-04-11 12:33
[ :: Read More :: ]

Cart #entaloneralie_p8-0 | 2024-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Hi! This is a remake of a clock made by Devine Lu Linvega.

Check out the original clock here!

I made it as a distraction when I was learning to code in uxn, because I felt it would look pretty cool as a screensaver on my RGB-30 (though it doesn't really work as a screensaver if the clock border is static lol)

The clock uses a date and time format described in detail here. Basically, the letter of the alphabet marks each 2-week period since the start of the year (26 letters * 2 = 52 weeks) and the 2-digit number immediately following is the day of each period. Days are then divided into a 1000 beats with a 1000 pulses each. (e.g. 500:000 is noon)

Since pico8 doesn't have a way to measure miliseconds (or at least I couldn't find anything), I implemented sub-second measurements in a hacky way which is simply counting frames and pretending each frame is 1/60th of a second. I noticed it sometimes makes the clock go slightly backwards for a frame or two though I haven't tried to debug it thoroughly, maybe the line draw code is wrong idk.

Hope you enjoy!

P#146343 2024-04-11 07:33 ( Edited 2024-04-11 07:36)
[ :: Read More :: ]

Cart #rush_e_pico8-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#146316 2024-04-10 19:23 ( Edited 2024-04-10 19:23)
[ :: Read More :: ]

Cart #terraform-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

terraform

You can now make awesome Planets and discover new sights.
Using this game, wow :O

Controls and how to use

  • X for a new seed
  • C for the making of terrain
  • Up for a better landscape
  • Down for Forest
  • (recommended) Up to make the forest
  • left to copie the seed
  • right to paste
  • d for done

Share your worlds and have fun :)

P#146260 2024-04-10 18:49
[ :: Read More :: ]

Pico-8 Injects

If you dont know what an "inject" is, ill explain it here.

An inject is a script or program that you append (add) to the end of another program to serve a function. good examples of an inject are code snippets you add to the end of a cartridge to alter things in real time or gain extra functions. RTCP is a great example of a code inject (code below). you simply just add the inject in a new code tab, and it automatically does its set function(s) without having to modify the source code.

Here are a few injects i have created

RTCP

--[[ rtc-p+ ]]--
--portable rtc made by antibrain
cf,clvl,ct=150,100,0
if _init!=nil then _init()end
function rtc()
if cf<0then cf=0elseif clvl<0then clvl=0end
menuitem(1,"corrupt spd:"..cf,function(b) icf(b) end)
menuitem(2,"corrupt lvl:"..clvl, function(b) iclvl(b) end)
menuitem(3,"nxt crpt in:"..-(ct-cf))
ct+=1
if ct>=cf then ct=0
for i=1,clvl do
poke(abs(rnd(-1)),rnd(-1))
end end end
function icf(b)
if(b&2>0)then cf+=10 rtc()end
if(b&1>0)then cf-=10 rtc()end 
return true end
function iclvl(b)
if(b&2>0)then clvl+=10 rtc()end
if(b&1>0)then clvl-=10 rtc()end 
return true end
while true do 
rtc() if _update!=nil then _update()
elseif _update60!=nil then _update60()
end if _draw!=nil then _draw() end
flip()
--the below loop can be removed if you are short on tokens.
if (_update==nil or _update60==nil) and _draw==nil then
?"no update or draw loops found!"
?"for carts that dont use"
?"game loops, load #rtcp and"
?"use that instead."
?" "
?"if loaded off bbs, please"
?"use a pico-8 editor to use this."
stop()end end

ACID (EPILEPSY WARNING)

-- [[ acid inject ]]
do 
local function corruptstr(txt)
local replacements,new="abcdefghijklmnopqrstuvwxyz#!@$%^&*()_+{}\"\\',<>.?/;:[]",""
for i=1,#txt do
new=new..(rnd()>0.8 and replacements[flr(rnd(#replacements))+1] or txt[i])
end return new end
local _pal,_print=pal,print
pal=function()
for i=0,16 do 
_pal(i,rnd'-1') end
bg_col=rnd'-1'end
print=function(txt,x,y)
txt=corruptstr(txt)
for ox=-1,1 do for oy=-1,1 do
_print(txt,x+ox,y+oy,0)
end end _print(txt,x,y,7)end
end

P#146302 2024-04-10 18:31
[ :: Read More :: ]

Cart #cyopicoris-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

A mod of MarkGamed7794's Picoris that allows you to create your own pieces. This is my first project with pico 8, a Tetris game where you can make your own pieces is something I've wanted to play for a while and very proud how it came out. I added a lot of original features and modes as well as many from Picoris 2.

I've had a lot of fun playing and creating this and problem solving to fit a lot in the cartridge, hope you enjoy!

Screenshots




Features

Create your own pieces! Make pieces of any size from 1x1 to 4x4, empty spaces, disconnected pieces, all lines, the sky is the limit! Sets can be from 3 to 7 pieces and are automatically saved

7 included sets: Tetris, Threetris, Quintris, Cross, Donut, Disconnected, Void
3 custom sets to make whatever you want

High scores saved for marathon, sprint and endless mode for each set. Scores for the current selected mode and set can be cleared in the settings menu

The ghost sprite now matches your custom mino sprite
The included sets can be easily changed, search 'custom set debug' in the code and follow the instructions there

Features from Picoris
Customizable controls
Mino sprite editor
Toggleable locking soft drop

Features ported from Picoris 2
Randomizer: Set the randomizer to use 7 bag, 14 bag or fully random
Gimmick interval: Customize how often gimmicks in certain modes apply, a lower number is more often
Starting level: Choose the starting speed

Modes


Modes from Picoris
Marathon: Clear 150 lines, fastest time is saved
Sprint: Clear 40 lines, fastest time is saved
Endless: Endurance test, high score is saved
The Grand Master: Clear 999 levels, +1 for each piece, +1 for each line, with the TGM speed curve.
Secret Grade: Create a diagaonal line of holes starting at the bottom left, see here for more info
Blitz: Get the highest score in 2 minutes. The game ends when you place a piece past the 2 minute mark

Modes ported from Picoris 2
Garbage: Random lines come up from the bottom of the screen
Treadmill: The stack shifts to the left after every piece, try not to get dizzy!
Ledges: Place your pieces onto the unclearable blocks, or sacrifice them to the void!
Split: Alternate which side of the board you place your pieces

New modes
Dig: A bunch of lines with 1 or 2 holes for you to dig your way out of
Avalanche: A combination of garbage and dig, dig down as new rows fill up from the bottom
Treadmill?!: Treadmill but only some of the rows shift each time!
Clutter: The board starts with a random amount of blocks
Meteors: Random debris hits your board!

Credits


MarkGamed7794 for Picoris and Picoris 2

The sets Threetris, Quintris and Cross come from Game Boy Tetris rom hacks made by thirtythree

Pico-8 Binary Functions Set was extremely useful for saving custom pieces to memory and encoding a full 16 mino piece as a single number.

P#146073 2024-04-10 16:30 ( Edited 2024-04-10 16:57)
[ :: Read More :: ]

Mox Wild West (WIP)

Cart #moxwildwest-6 | 2024-04-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Story

[8x8]

The story about Mox unfolds in a small canyon enclave, where he's stuck and can't escape. The canyon has been overrun with bandits and other mysterious creatures. There are trains passing multiple times every day, but they never seem to stop in the small town, maybe he can find a clue? (wip)

Controls

[8x8]

Press 🅾️/X to shoot (pick up a weapon)
Press ❎/Z to ... (WIP)
Press Start/Enter to open character menu and map, you can also change equipped weapon with ⬅️ ⬆️ ➡️.
To open Pico Menu, press and hold Start or open character menu and Press ❎.

Gameplay

[8x8]

There are 3 different types of weapons scattered around the map, they each have their own strengths and weaknesses.
The weapons have a reload time (shown by a blue bar under the player) and a max number of bullets pr. round/magazine.
Explore the map and kill the enemies and creatures you encounter.
Use the surrounding environment.
Pick up Ammo for your guns. (the ammo you pick up counts towards your currently equipped weapon)
Pick up Health kits to survive.

The enemies and creatures currently respawn when you have cleared the whole map. (shown in the top right corner or red dots on the map)

Vision

[16x16]

Small Wild west game with a minor twist of Dune.

The project is still very much work in progress, as I haven't figured out the whole gameplay loop yet.

Currently using the ingame map editor and its limits, I'm considering moving to other solutions to make larger maps.
Close to token limit, but lots of possible optimizations with my sloppy code. :)

This is my first Pico8 game and my first game to hopefully release.

Feel free to give some suggestions for improvement.

Todo

[8x8]

  • Rework some creatures.
  • Fix diagonal movement
  • Figure out the respawn system.
  • Add more particles to make a more dynamic environment.
  • Improve the very bad enemy AI.
  • Add more enemy types.
  • Rework SFX.
  • Rework weapon selector in menu.
  • Rework Ammo stuff.
  • Create/find some fitting music.
  • Fix bugs.
  • Add small story elements.
  • Add more stuff to the housing.
  • Tweak UI.
  • We need some tumbleweed!

Changelog

[8x8]

Version 0.76

  • Added respawn timer.
  • Added kill counter in the character menu (start).
  • Added blue axe men.
  • Increased XP values of enemies.

Working on lots of other stuff :)

Version 0.75

  • Added some randomness to the enemies y axis to make them more difficult (avoiding bullets)
  • Changed spawn tables to strings, saved 900+ tokens :>
  • Decreased the health of some enemies.
  • Increased max ammo count and loot.

Version 0.74

  • Minor spelling fix.

Version 0.73

  • Added dust/sand particles for the environment.
  • Added smoke particles for the train.
  • Added temporary respawn mechanic. Enemies respawn when the whole map has been cleared.
  • Added cleanup to avoid overloading the cpu (there can never be too much blood :( )
P#146265 2024-04-10 11:43 ( Edited 2024-04-16 21:51)
[ :: Read More :: ]

Hello !!

I'm learning to code, but I quickly find myself getting sidetracked by trying to implement things I haven't seen in the games I've played yet, and ultimately, I end up wasting a lot of time starting over.

I would like to hear your thoughts on Pico-8, what has helped you progress the most? Was it blind development like I'm attempting without any prior experience? Did you follow tutorials or take courses? Did you look at the code of a game you like to try to understand and learn from it?

Specifically, if you were to start Pico-8 programming today with the hindsight you have now, how would you begin?

Thanks in advance.

P#146229 2024-04-10 03:47
[ :: Read More :: ]

Cart #pizzabomb-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


Cart #pizzabomb-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


Cart #pizzabomb-0 | 2024-04-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

P#146226 2024-04-10 03:28 ( Edited 2024-04-10 15:38)
[ :: Read More :: ]

by
Cart # | | Embed ▽ | No License | Edit

P#146225 2024-04-10 03:17 ( Edited 2024-04-10 03:23)
[ :: Read More :: ]

Cart #helloworld_moonvixn-0 | 2024-04-09 | Code ▽ | Embed ▽ | No License
3

I'm just getting into PICO-8, so this post is largely just me saying Hello World :)

Here's what I have to show (in the best way) for the past few days of learning how to develop in PICO-8 - tutorials have been super useful and I love what I've seen of the community so far!

x to yap with a star effect

arrow keys to walk

hold o + arrow to zoom with rainbow effect

This cart uses snippets from @shy's blog post on animating sprites and @atzlochtlan's Particle Effects cart (thank you!)

💜

P#146191 2024-04-09 19:04 ( Edited 2024-04-09 19:18)
View Older Posts